package com.wuzuqing.android.eightdiagrams.model;

import java.util.ArrayList;
import java.util.List;

/**
 * @CopyRight: 广州仰望星空云科技有限公司
 * @Author : wuzuqing
 * @Email:wuzuqing@xinyu668.com
 * @CreateTime: 19.8.25 2:54 PM
 * @Description: 请写描述
 */
public class LhcBean {

    private String date;
    private String no;

    private NumBean tx;
    private List<NumBean> list = new ArrayList<>();

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public List<NumBean> getList() {
        return list;
    }

    public void setList(List<NumBean> list) {
        this.list = list;
    }

    public NumBean getTx() {
        return list.get(list.size()-1);
    }


    @Override
    public String toString() {
        return  "date='" + date + '\'' +  ", list=" + list;
    }

    public static class NumBean{
        private int num;
        private String animal;
        private String wx;

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getAnimal() {
            return animal;
        }

        public void setAnimal(String animal) {
            this.animal = animal;
        }

        public String getWx() {
            return wx;
        }

        public void setWx(String wx) {
            this.wx = wx;
        }

        @Override
        public String toString() {
            return num + "(" + animal + ")";
        }
    }
}
